﻿<%@ Page Language="C#" MasterPageFile="~/defaultLayout.master" AutoEventWireup="true" CodeFile="Afrekenen.aspx.cs" Inherits="bestellen_Afrekenen" %>
<%@ MasterType  virtualPath="~/defaultLayout.master"%>
<asp:Content ID="maincontent" ContentPlaceHolderID="main" runat="server">
    <div class="content">
        <asp:Label runat="server" ID="lblNotification" />
        <br />
        <div id="movieInfo">
            <div id="movieMedia">
                <asp:Image ID="movieImg" height="250px" runat="server" />
            </div>
            <br />
            <div id="movieName">
                <asp:Label ID="movTitle" runat="server" />
            </div>
            <br />
            <div id="movieRated">
                <asp:Repeater ID="movieRatedRepeater" runat="server">
                    <ItemTemplate>
                        <asp:Image ID="Image1" Width="25px" runat="server" ImageUrl='<%# Eval("kijkwijzer_symbool") %>' />
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <div id="movieTime">
                <asp:Label id="time" CssClass="bold" Text="Tijd:" runat="server" />
                <asp:Label ID="movTime" runat="server" />
            </div>
            <div id="movieGenres">
                <asp:Label id="genre" CssClass="bold" Text="Genre:" runat="server" />
                <asp:Label ID="movGenres" runat="server" />
            </div>
            <div id="movieLength">
                <asp:Label ID="length" CssClass="bold" Text="Duur:" runat="server" />
                <asp:Label ID="movLength" runat="server" />
                <asp:Label ID="minutes" runat="server" Text="minuten" />
            </div>
            <div id="movieProducer">
                <asp:Label ID="producer" CssClass="bold" Text="Regie:" runat="server" />
                <asp:Label ID="movProducer" runat="server" />
            </div>
            <div id="movieType">
                <asp:Label ID="type" CssClass="bold" Text="Versie:" runat="server" />
                <asp:Label ID="movType" runat="server" />
            </div>
            <div id="movieSeatsAvailable">
                <asp:Label ID="seats" CssClass="bold" Text="Aantal plaatsen besckikbaar:" runat="server" />
                <asp:Label ID="movSeatsAvailable" Text="Versie:" runat="server" />
            </div>
            <br />
        </div>
        <div id="paymentInfo">
            <div id="tickets">
                <table class="tablepayment">
                    <asp:Repeater runat="server" OnItemDataBound="tickets_ItemDataBound" ID="ticketsRepeater">
                        <ItemTemplate>
                            <tr>
                                <td style="width:300px"><asp:Label runat="server" ID="amount" />x <asp:Label ID="ticketName" runat="server" /></td>
                                <td>&nbsp;€<asp:Label runat="server" ID="price" /></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <tr runat="server" id="glassesTR">
                        <td><asp:Label runat="server" ID="amountGlasses" />x <asp:Label runat="server" ID="glassesLabel" /></td>
                        <td>&nbsp;€<asp:Label runat="server" ID="priceGlasses" /></td>
                    </tr>
                    <tr runat="server" visible="false" id="subscriptionTR">
                        <td>&nbsp;<asp:Label runat="server" ID="subscriptionName" /></td>
                        <td>-€<asp:Label runat="server" ID="priceSubscription" /></td>
                    </tr>
                    <tr runat="server" id="voucherTR">
                        <td>&nbsp;<asp:Label runat="server" ID="nameVoucher" /></td>
                        <td>-€<asp:Label runat="server" ID="priceVoucher" /></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td id="totalprice">&nbsp;€<asp:Label runat="server" ID="total" /></td>
                    </tr>
                </table>
            </div>
            <asp:button CssClass="headerButton" runat="server" ID="previous" OnClick="previous_Click" />
            <asp:Button CssClass="headerButton" runat="server" ID="iDeal" OnClick="iDeal_Click" Text="iDeal" Visible="False" />
            <asp:Button CssClass="headerButton" runat="server" ID="reservering" OnClick="reservering_Click" Visible="False"  Text="Reserveren" />

            <div runat="server" class="tickets" id="vouchers">
                <asp:Label ID="voucher" Text="Voucher:" runat="server" /><br />
                <input id="voucherID" name="voucherID" type="text" />
                <a class="headerButton" onclick="submitForm('mainForm')">
                    <asp:Label ID="enter" Text="enter" runat="server" />
                </a>
            </div>

            <asp:Button CssClass="headerButton" runat="server" ID="back" Visible="False" OnClick="back_Click" />
        </div>
        <div class="clearDiv" ></div>
    </div>
</asp:Content>